activate sensors in multiple UNOs by pushing a button

Dear all,

I want to trigger five sensors that are connected to five UNOs individually by pushing a button sensor (digital pin, D7) that is connected to one of UNOs.

I have successfully triggered four sensors, but the 5th sensor was not able to be triggered.

In the wiring, the ground pins and the D7 pin are all connected across five UNOs.

Is it a right way to do the task? Any suggestions?

Thanks for your help.