minor fix of link_spec