fix character error