fix index bug with snow depth