portal enemy gen fix and final stage fix