Removing old flags