fix language category on error page