fixed getCompletePath