fix up bugs and consistancy getRelURI, getParents