weather index bug fix