Backend: fix remote info encode bug