fixed bug with iicWrite addressing