fix ForestBuilder and add clear button (test version)