fix check_target; improve pm_set.py -h