add an error page and setTimeout 10s