char position is not correct