Fixing resource paths.