remove deprecated gold flags