cleaner title helper code