Fixes an error
Merge pull request #119 from heiglandreas/hotfix/errors

Fixes an error