fix insert query syntax