fix unmonitor/monitor action in rc.script