fixed saving/loading config file bug