remove some redundant code
update nuget config