bugfix in passive mode