add encoding problem of ror