fixed nuget plugin initialization error