uppercase r-codes to fix penni bug