matlab_text: small fixes