fixed issue with precision