bugfix / typo

should be tested for > 0 instead of == 1