To fix a bug for null subject always used for generateBookReport