fixed insertSQL