fix in pyqt's rm