put in another couple R fixes