When we have more than one port it fail because the name of each of the port is not defined. When we add just dummy name it works.