Remove unneeded window