correct error pages