properly fill global network io for global inputs

fixes #665