make some fix to http filter.