fixed the paths in preview tools