fix a small error make by nullspeaker again

it should be max instead of min i think...