need to fix insert and select
fixed insert to use Row, still need to change select and write join