Fixed incorrect behavior on requesting input strings.