if error rate is 0, skip that loop