simplify node types