miscellaneous changes to make core functionality of nodes more robust to different types of data