avoid crash when OpenNI initial failed