remove debug code in BasicResourceService