fixed 'saveproviders'