fix issue where subject waasn't output