trying to fix int to char issue