backported version 4.0.2 obo code