try to fix insert bug