fixed error data calculation