Fixed the error in character.m