fixed error pages