conditioned error messages better.