modify class to gen because class is built-in
remove whitespace to menu-list
fix mis-attribute