add additional checks for null values
read refs when parsing a topology