removed operations from resource declaration when empty