delete useless import tree function