cleans up sortable root file