qml warning fix