fix local reset

fix for local reset