make_inverse fix