Reimplemented the RandomUtil to create less objects and fixed a small bug in the sanitization