randomize charset fix