title bar bug fix