chewy middleware