changing string format to be correct chars