error with comletely-zero comparisons fixed