handling load error.