return None instead of empty node list if there is a problem