fix bug for init install