fix invalid image path