Fix comments of getPath()