fixing public link contract patterns