Fix compilation error, handle error.