fix issue with max 0. Closes #2
Release 1.2.1