Fixes #100

Fixed issue #100, worked fine here.