trying to fix the image load delay