adapt to new OWM API