STABLE VERSION: gpu version resets chain successfully