fixed a initialization bug for query-free range searching