fix return list when happen error.