don't use potentially absent middleware as the insertion marker