[fix] remove 'undefined' css class and unused code