added code to empty text fields