modify path for phantom