bing code cleanup