delete not needed messages