fix error in where credentials are grabbed from the template
a helper in desc