fix the lottery of offset top