change for resetting string counter