fix lottery