change absulute path to relative