add error page when exception raised