fix panic in HeadDecode