removing resource