fix some type problems