fix a bug for inject iapicient