Amelioration on how idcode written to memory