Fix relative path with config