Fixed cleanInput