remove absolute paths to home directory