fix for `#ord` in 1.8.7
Merge pull request #361 from mikehale/fix-ord-1.8.7

fix for `#ord` in 1.8.7