fix bug for default configure