fix for matlab syntax