custom-links fix