security cleanup