solves round off problem.