add error to items