fix agamemnon crash