double reset issue fixed