fixing insert timestamp data