for node and correct type parsing