fixed saving configs