Fix path in resources with absolute path