minor bugfix for goToInput