fixed bug: comparison api version