Fixed a small bug in the generate random string method