fixed gui config saving issue