cleanup in log