no more need support api4 and api7