fixes a bug in comparison links