remove absolute path& replace with placeholder