fix titles for error pages