ProfileAlignment reduce substitution calls
changes after pull request. not work