filter repeated messages