Let S = k[x 1 , . . . , x n ] be a polynomial ring, where k is a field, and G be a simple graph on n vertices. Let J(G) ⊂ S be the cover ideal of G. In this article, we solve a conjecture due to Herzog, Hibi and Ohsugi for trees which states that powers of cover ideals of trees are componentwise linear. Also, we show that if G is a unicyclic vertex decomposable graph unless it contains C 3 or C 5 , then symbolic powers of J(G) are componentwise linear.