yet another small change for matlab compatability