Fix layout add required class