fixing nodemap+instances