set the right pointer
setright(p,null);