fixes to edit page