fix some little erroers