How to avoid WHS corruption issues