fix lottery generate price bug