fixed the log links in dynamic html