minor bug fixes
Merge pull request #45 from josiah85/v1.7.1

minor bug fixes