fixing response filtering