fixing bug in email subjects