fixed the same value always generated for 256-divisor chars