to/from inversion in error message