Fixed accuracy bug