fixed permission for delete