need a way to remove values from a text field, this check was preventing that from happening