fixed broken image links and directory links