refactoring county.apply; support removing nodes