try fix global object in windows error