new input class names on restore function