add check if the header item is an empty array