fixed 'refined tolerance' issue