avoid error when asking attributes for a node which don't have them