fixes bug reference in Issue #44

Closes Issue #44