adding portal fixes