Fixed a bug in Character.m