remove resource field