forgot to return dictionary on get_errored_courses