removed unnecessary window