bug fixes before sending prototype 1 to ibi