fix some minor things