fix error messages

Signed-off-by: Hiroshi Miura <miurahr@linux.com>