fine tuned bar title setting performance