fixed return value of translate_protonr