delete api in old package