debug saving version