fix mod bug; use reminder day in lottery