Cleaning up edit page