fix bug where only ctlz or cttz is present, but not both