fixed permissions/edit