I think you need to clear out leading when we used to clear in_preload and in_embed