bug fix for lm7K/ctrlgenM1.py