improve IAE message when frames incompatible