swapped x and raw characters