rm obsolete API