removes header only treaties