fixes title reset error