remove messages when deleted