fixed bad boolean causing the program to think any value was bad