Fixed crash when API doesn`t send some type of data