format code and has a bug to fix

李修磊在写代码not split correct. fix it next time.