changed default threshold from 50 to 20