fix layout problem on Windows