small update to make get_portal faster
Merge branch 'get-portal-optimization'