fix broken code & doc link