Destroy bug in custom text field