fix currency offline mode