fix link sequence