modified some build fail errors.