remove log on error