clearing the input after a subject is added