Fixing character problem