fixed error output

Signed-off-by: Javier Vazquez <javier@vazquez.ch>