mattr_accessor to attr_accessor for use different client