fix local_dump protocol