putting rcparams inside try/catch statements as well