unnecessary qml code is removed