Fixed error with variable named random.