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