adjust for weixin_rails_middleware new version