Fix accuracy bugs.