fix links controller