fixed charCode and which