fix bug for request filter