Fixed registration error, no upper bound set on randint