fix character creation errors