fix error page