remove reference to old api