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