Fix encoding problem for repair node