Fix issue16 paradigm from mat