Fixing resource paths