fixing s3 image path