fix: added query twice if query contained slash(es)