Place an error on the right place.

Closes #6