renamed array keys to correct keys in tpl file