query draw - debug