make junas work with expect