fix crash bug for single input analyses