add offset to search query