opening training API fixes