Added check for passive mode