fix for threshold cut-off
update
Merge pull request #125 from tcarver/master

misc