got rid of changing object/edit mode