trying to fix portal