fixing image loading problem 1