fix bug with image path