In kicad 6.0 net class not work properly

once we assign differential pair in net class and route it wont take properties of that net class like track width and spacing.
pl suggest how it will work