fix property keys and pushing of new nodes