delete old configs before restart