fix matlab printing