fix xiechao06/lite-mms#143
refactor