workaround for qml crash on startup