sql bulk inserts, typos fixed