remove duplicate error
Merge pull request #835 from maraoz/bug/double-errors

remove duplicate error