sidestep pyqt4 problem