Fix id in portal actions