fixed optimize when not using kill, forgot to change the dead counter after adding additional window