Add a sanitiser for RES. I am so ashamed.