fixed Ling index error