drop invalid messages