fix integration injection related to leading
Merge pull request #93 from adobe-research/jh/fix-leading-bug

fix integration injection related to leading