fixing for changes in terms and search params