correction error message exchange hook