Removing unneccessary messages