fix some small points