write can not write integer