window title bug fix