messages cleanup