fixing edit page