bug fix after updating nuget packages