bug fixes for path names