Clean up template title