fix unexpected import Qml module with legacy UI