fix passive mode