Fixed issue 776
Merge pull request #12 from govertbuijs/master

Fixed issue 776