improved image loading

correct branch this time