add :size attr to loop-tpl