fix iteration model js