handling null topology objects correctly