Fix to random