remove resouce