window title reset when clearing