Aqara Single Switch Module/Relay T1 SSM-UO1 = Issue with cable length?

Hi,
recenlty I purchased this module to be able to turn and off the light in my hallway and to use motion sensors, but there is an issue as it is a hallway I do have offcourse more than one wall light switch. But the issue is that the module does not work with longer cables between more light switches? If it is under 13meters, works fine, if it is over around 15meters, light turns on and off by itself, I can hear the relay sound, and if it is over 20meters, death silence, nothing works at all. Any idea how to fix this?