fix bugs.
Merge pull request #2 from padule/fix/bugs

fix bugs.
bump up version.
Merge pull request #3 from padule/release/1.0.1

Release/1.0.1