Bug fixing in Image Downlaoding