Bugfix of input