replace relative path with full