Fix initialization in case of mixed path