fix broken link
remove dead code