working on textfield with a weird behavior for the moment