Fixed input string issue