minor pyqm tweak