fixed how we get config params for the invite template

fix fix fix