fixed nvarchar datetime and one (hopefully) last occerrence of 'Name'