fix random percentage