compatible with osf.py 1.4