Fixed error when creating new characters.
Fixed error when creating new characters.