make path replative using ~