fixed typo at the fix for issue #145