fixed imagesource bug