clean up messages