fix class name pattern