Input System UI Input Module doesn't work with my old buttons

Hello everyone,
Recently I switched my Unity project to the new input system, the project already had UI buttons and it doesn’t work with the new input system.
here is my inspector of my event system:


and my inspector of my canvas:

The new version of Input System to solve my problem, thanks unity.