bulk insert fix