prune useless line