fix range in thread get