Fixing uploads from edit page