small mistake while setting head node in BasicNodeList