remove resource