Fix bug in title.py (and convert spaces to tabs), thanks @rubenwardy