fix window title issue