[fix] remove unused function