prevent infinite recursion if a message refers to itself