minor bug fix template item-view