changed error threshold