fixed error pages again