fix the build errors.