add protection when api is not stable