Fix issue #177

Fix for issue #177 

Note the number in the commit message is wrong.