return null for $id<=0
removed clang parameter of getChildren and getParent