filter response data