[fix] remove old code