fixed bug in zeropoint exception handling