Fixed bug in new header