remove rogue code