delete absolute paths to resources