Bugfix multiple imput ports