fix a bug in server driven typing where the input might be from local storage