clean doc mess