deleted all old flags