Fixed the error pages