changed return statement in get_syntax_node