history of reference currency is always 1
fix history or ratio was saved more than once