fix getter for simple path with more than 3 parts