fixed compiler error with conditional nodes