add better_errors and fix bug on problems page with unjudged submissions