Set correct api