fixing getSubject method