Correct some bug in character