cleanInput method updated