fix bug(header and body filters stall in some configuration)

Correspond configurations are followings.

 * single body-filter is in location
 * single header-filter and body-filter are in each location