Fixes issue #123

It was my last change locally, but forgot to commit ;) sorry!
Merge pull request #124 from ecoal95/patch-1

Fixes issue #123