image loading bug fixed