bug fix for save.sh --iteration argument