fix tree and add nuget package