Fix qml error