add $location to querySrv service