Removing unused resource