cleanup chain state error logging