remove setting parent and check for moving in createPage