fix typo in 'r' macro