Fixed bugs after merging SMSFileSenderEngine