adapting to the fixes in the ortho() function