[db] fixes topology import in parser