fix window platform bug.