Fixed bug in character data events