get passive mode working