fix bug when skip uid range without key range