add-error fixed

Signed-off-by: Joachim Doerr <mail@joachim-doerr.com>