attempting to fix invalid locations for portals.