fixing debug error page