Error in accessing the course:MC2016['NoneType' object has no attribute 'lang_code']