rm obsolete main