Learning from wrong treatment