tweaked R mode config