fix for QT