fix the way to refer home path in sed cmd