fix quote and error pages