Remove absolute path from resources