add error page feature