fix memory leak in navBarTitleAttributes