get rid of last occurrences of Void/Bottom