fixing multiple typing of letters