added some assertions to the Path getters