Fixing Gamma armory exploits