Fix currency format bug (close #145)