fixed get random code number