Fixed bug in header