fixes #17

the fixes #16 commit was incorrectly named, the bug was #17