edited error messages