fixed .ep template bug where the stash value "c" could no longer be used (closes #671)