fixed matrix generation input link