util refactoring
better yandex error handling