fixes the daily production api call and model