diff --git a/src/main/resources/META-INF/frontend/fc-orgchart.js b/src/main/resources/META-INF/frontend/fc-orgchart.js
index ce22adb..c90b6a6 100644
--- a/src/main/resources/META-INF/frontend/fc-orgchart.js
+++ b/src/main/resources/META-INF/frontend/fc-orgchart.js
@@ -77,7 +77,7 @@ class FCOrgChart extends PolymerElement {
         	'nodeTemplate': nodeTemplate,
         	'createNode': function($node, data) {
     	        $node.on('click', function() {
-    	        	currOrgChart.$server.onClick(data.id);
+    	        	currOrgChart.$server.onClick(data.id.toString());
     	        });
     	        
     	        $node.on('mouseover', function(event) {