fixes 177
Merge pull request #179 from uwsampa/fix-177

fixes 177