fixing insert for timestamp