issue trying to delete when no characters in the textfield