fix tuple size error