some debug cleanup for ie8