rig resource fix.