Fix the setting of titles