redundant codes removed and a bug of IronChain