fixes edit page