add check api version