changes for window deletes