fixed digits on polarity for issue #103