fix textfield history