make sure horizontal accuracy is not negative one