removing unnesesary messages