Fixed pdim problem with ortho2.