add some error messages