10th commit by laizuling,fix lot of bugs