fixing links to work in sub-dirs