resolve some windows problem