clean up empty node handling.