adding a filter to capitalize class names in the dropdown menu