fixed portals breaking after map cleanup