maybe this will help with image loading