changed the error pages