fixed round-off error