catch bad value for currency