fix loading saved config issue