fix save mode