Fixed duplicate error generation -- fixes #12
Fixes #14