Fix upload in edit page