correct check for RS_ENABLED