message cleanup step