Fixing bug related to final "\n" in subject