another small change for matlab compatability