small fixes for new ok_api