[fix] removing obsolete code