Extra error trapping in title template