Fix Chain head issue