support array params in template