fixing links and file names