fixed image loading error