fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>