fixed 'rest' bool
Merge pull request #7 from teharrison/master

fixed 'rest' bool