changes some error messages