Fix bug with use_ace flag.