minor threshold fix