remove resource class