modify input in scanstring.php