Fixed bug when header is an empty list #66