fix xtrace showing up when not needed