Fixed error in headed