fix type matlab headers