Fix broken api.use