Fixed None problem on send

Fixed None problem when passing from_name in the constructor.