then I'm sorry to say that your code to insert is flawed with that Gettok stuff

Look at your insert params to see what is going on