made coins generator more resilient against input in varying encodings