fixed main and portal naming