- fixed broken query