fix string split bug