basis.app: fix exception when no element and init returns nothing