fix rcode4 to rcode5