fix IBM2 bug