fix for bug #14
Merge pull request #18 from BigMichi1/bug_fix_14

fix for bug #14