fixed local fetch crash