Fix the resource paths.