fixed race condition with set and get path names