repair erc log