fixes custom links