fixed bugs in links and colors