freemat: fixed