fixed middleware hosts