add base error page and fix minitest error