Bugfix, connect input parameter to named function