added custom error page(fixed errors)