trying to avoid load error for image