fix topology declaration