correct characters in error pages