added error message when the currency is invalid
updated the error messages