removing query logging