Fixed npe in subject