remove delete from resource if in module