fix a ui bug and string split bug.