fixed bug in zeropoint query