fixed up error messages when there's a failure in a statically evaluated expression