try and fix the image creation