little bug fix w/portals