little fix ore-api