modified oa_lbs2mtk.c mainly about reduce the some code