fix remote condition for module logical rule