remove unnecessary code
fix windows being started outside the window