recover from bad resource/R problem