fix variance with xterm