fix wrong style in text field