Fixing save process.