remove log and warning