fix some minor stuff