fix insert script.