clean up path portability