fixed windowClosing #ME