clearSubject before setSubject to avoid exceptions