Clean up edit page