fix: compile error on windows platform
fix: allWays on top of the main window