Fixed bug on nodeIf compilation