only use first item in writeSuccess