fixed windows which deleted unexpectedly