fix links bug in lottery