change path to have one relative path