fixed the portals