warnings in ERC checked

only uneccessarry things