fixed dbhelper function and csproj