fix bug for install package