cleaning up
needed for proper tree loading