By all means do something about the hole where the wires go through, but do not attempt to seal the sides of the compartment. I had to repair about three bikes like yours after the owner tried to seal the compartment, but they filled up with water when it got in, but couldn't get back out, so...