fix odd error pages