fix character.lua so it merges