Remove absolute path for tr