Bug fixes for PathO