remove print tree node vertically which has been replaced by traversal vertically