fix(templates): value generator should use value template