changes default state of text fields to empty string