make mismatched head inspection aware of macro substitution