Fixed reassign provider.