fixing variables in process template