fix a bug in lirang