added missing error messages