fix for window namespace pollution