make all class names unique