fixing character issue