fixing OF example