fix some build error