Remove unneeded messages