fix checking of supported currency