Store link list in correct format.