fixed segfault with double free of get ranged request