generate better load error message