fixed issue with '-' in class titles