fixed issues about beta4.