small tweak to title method