fix #18
Merge pull request #21 from pocketberserker/fix-target-exception

fix #18