remove unused resource