fix-issue-1, as recommended by shakespearSUU

This is for issue #1