fix r16 compilation error