get the correct character